Optimal. Leaf size=100 \[ \frac{8 c^2 \cos (e+f x) (a \sin (e+f x)+a)^m}{f \left (4 m^2+8 m+3\right ) \sqrt{c-c \sin (e+f x)}}+\frac{2 c \cos (e+f x) \sqrt{c-c \sin (e+f x)} (a \sin (e+f x)+a)^m}{f (2 m+3)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.149104, antiderivative size = 100, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.071, Rules used = {2740, 2738} \[ \frac{8 c^2 \cos (e+f x) (a \sin (e+f x)+a)^m}{f \left (4 m^2+8 m+3\right ) \sqrt{c-c \sin (e+f x)}}+\frac{2 c \cos (e+f x) \sqrt{c-c \sin (e+f x)} (a \sin (e+f x)+a)^m}{f (2 m+3)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2740
Rule 2738
Rubi steps
\begin{align*} \int (a+a \sin (e+f x))^m (c-c \sin (e+f x))^{3/2} \, dx &=\frac{2 c \cos (e+f x) (a+a \sin (e+f x))^m \sqrt{c-c \sin (e+f x)}}{f (3+2 m)}+\frac{(4 c) \int (a+a \sin (e+f x))^m \sqrt{c-c \sin (e+f x)} \, dx}{3+2 m}\\ &=\frac{8 c^2 \cos (e+f x) (a+a \sin (e+f x))^m}{f \left (3+8 m+4 m^2\right ) \sqrt{c-c \sin (e+f x)}}+\frac{2 c \cos (e+f x) (a+a \sin (e+f x))^m \sqrt{c-c \sin (e+f x)}}{f (3+2 m)}\\ \end{align*}
Mathematica [A] time = 0.497649, size = 110, normalized size = 1.1 \[ -\frac{2 c \sqrt{c-c \sin (e+f x)} ((2 m+1) \sin (e+f x)-2 m-5) \left (\sin \left (\frac{1}{2} (e+f x)\right )+\cos \left (\frac{1}{2} (e+f x)\right )\right ) (a (\sin (e+f x)+1))^m}{f (2 m+1) (2 m+3) \left (\cos \left (\frac{1}{2} (e+f x)\right )-\sin \left (\frac{1}{2} (e+f x)\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.148, size = 0, normalized size = 0. \begin{align*} \int \left ( a+a\sin \left ( fx+e \right ) \right ) ^{m} \left ( c-c\sin \left ( fx+e \right ) \right ) ^{{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.87242, size = 261, normalized size = 2.61 \begin{align*} -\frac{2 \,{\left (a^{m} c^{\frac{3}{2}}{\left (2 \, m + 5\right )} - \frac{a^{m} c^{\frac{3}{2}}{\left (2 \, m - 3\right )} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - \frac{a^{m} c^{\frac{3}{2}}{\left (2 \, m - 3\right )} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac{a^{m} c^{\frac{3}{2}}{\left (2 \, m + 5\right )} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}}\right )} e^{\left (2 \, m \log \left (\frac{\sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + 1\right ) - m \log \left (\frac{\sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + 1\right )\right )}}{{\left (4 \, m^{2} + 8 \, m + 3\right )} f{\left (\frac{\sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + 1\right )}^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.14181, size = 359, normalized size = 3.59 \begin{align*} \frac{2 \,{\left ({\left (2 \, c m + c\right )} \cos \left (f x + e\right )^{2} +{\left (2 \, c m + 5 \, c\right )} \cos \left (f x + e\right ) -{\left ({\left (2 \, c m + c\right )} \cos \left (f x + e\right ) - 4 \, c\right )} \sin \left (f x + e\right ) + 4 \, c\right )} \sqrt{-c \sin \left (f x + e\right ) + c}{\left (a \sin \left (f x + e\right ) + a\right )}^{m}}{4 \, f m^{2} + 8 \, f m +{\left (4 \, f m^{2} + 8 \, f m + 3 \, f\right )} \cos \left (f x + e\right ) -{\left (4 \, f m^{2} + 8 \, f m + 3 \, f\right )} \sin \left (f x + e\right ) + 3 \, f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]